WPDiscourse\SyncDiscourseTopic\SyncDiscourseTopic S

Total Complexity 44
Dependencies 2
Dependents 1
Total lines 276
Lines of code 154
Logical lines of code 95
Comment lines 80
Methods 8
Properties 2

Methods 8

Method Rating Maintainability Complexity Lines of code
update_post_metadata()
B
45 20 37
update_topic_content()
S
49 7 30
maybe_create_db()
S
54 5 21
list_topic()
S
55 3 19
get_post_id_by_title()
S
61 3 12
get_post_ids_from_topic_id()
S
61 3 12
initialize_update_content_route()
S
58 2 17
__construct()
S
70 1 6